<?php
/*
Plugin Name: jQuery TOOLS
Plugin URI: 
Description: Adds <a href="http://flowplayer.org/tools/index.html" target="_none">jQuery TOOLS</a> to your WordPress site. <a href="http://www.lucaperugini.it">Luca Perugini</a>
Author: Luca Perugini
Author URI: http://www.lucaperugini.it
Version: 0.1.2
*/

/**
 * Make sure we get the correct directory.
 */
if ( !defined('WP_CONTENT_URL' ) )
	define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
if ( !defined( 'WP_CONTENT_DIR' ) )
	define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
if ( !defined( 'WP_PLUGIN_URL' ) )
	define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
if ( !defined( 'WP_PLUGIN_DIR' ) )
	define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );

/**
 * Define constant paths to the plugin folder.
 */
define( JQUERY_TOOLS, WP_PLUGIN_DIR . '/jquery-tools' );
define( JQUERY_TOOLS_URL, WP_PLUGIN_URL . '/jquery-tools' );


/**
 * Loads JS and CSS
 */

wp_enqueue_style( 'jquery-tools', JQUERY_TOOLS_URL . '/style.css', false, 0.1, 'screen' );
wp_enqueue_script( 'jquery-tools_js', 'http://cdn.jquerytools.org/1.1.2/jquery.tools.min.js',false, '1.1.2', false);


?>
